package com.sun.showcase.client.domain.mall;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;

public class PlatformConfig implements java.io.Serializable{
	private static final long serialVersionUID = 5454155825314635342L;
    /**
     * ID       db_column: id 
     */	
	private java.lang.Integer id;
    /**
     * 订单完成天数       db_column: order_complete_day 
     */	
	private java.lang.Integer orderCompleteDay;
    /**
     * 订单可退货期限       db_column: order_return_day 
     */	
	private java.lang.Integer orderReturnDay;
    /**
     * 商家提现手续费       db_column: shop_cash_fee 
     */	
	private Double shopCashFee;
    /**
     * 创建人ID       db_column: CREATE_BY 
     */	
	private java.lang.String createBy;
    /**
     * 创建人姓名       db_column: CREATE_BY_NAME 
     */	
	private java.lang.String createByName;
    /**
     * 创建时间       db_column: CREATE_DATE 
     */	
	private java.util.Date createDate;
    /**
     * 修改人ID       db_column: MODIFIED_BY 
     */	
	private java.lang.String modifiedBy;
    /**
     * 修改人姓名       db_column: MODIFIED_BY_NAME 
     */	
	private java.lang.String modifiedByName;
    /**
     * 修改时间       db_column: MODIFIED_DATE 
     */	
	private java.util.Date modifiedDate;
	
	private Integer shopSettleDay;
	
	private Double agentAmount;
	//columns END

	public PlatformConfig(){
	}

	public PlatformConfig(
		java.lang.Integer id
	){
		this.id = id;
	}

	public Double getAgentAmount() {
		return agentAmount;
	}

	public void setAgentAmount(Double agentAmount) {
		this.agentAmount = agentAmount;
	}

	public Integer getShopSettleDay() {
		return shopSettleDay;
	}

	public void setShopSettleDay(Integer shopSettleDay) {
		this.shopSettleDay = shopSettleDay;
	}

	public void setId(java.lang.Integer value) {
		this.id = value;
	}
	
	public java.lang.Integer getId() {
		return this.id;
	}
	public void setOrderCompleteDay(java.lang.Integer value) {
		this.orderCompleteDay = value;
	}
	
	public java.lang.Integer getOrderCompleteDay() {
		return this.orderCompleteDay;
	}
	public void setOrderReturnDay(java.lang.Integer value) {
		this.orderReturnDay = value;
	}
	
	public java.lang.Integer getOrderReturnDay() {
		return this.orderReturnDay;
	}
	public void setShopCashFee(Double value) {
		this.shopCashFee = value;
	}
	
	public Double getShopCashFee() {
		return this.shopCashFee;
	}
	public void setCreateBy(java.lang.String value) {
		this.createBy = value;
	}
	
	public java.lang.String getCreateBy() {
		return this.createBy;
	}
	public void setCreateByName(java.lang.String value) {
		this.createByName = value;
	}
	
	public java.lang.String getCreateByName() {
		return this.createByName;
	}
	public void setCreateDate(java.util.Date value) {
		this.createDate = value;
	}
	
	public java.util.Date getCreateDate() {
		return this.createDate;
	}
	public void setModifiedBy(java.lang.String value) {
		this.modifiedBy = value;
	}
	
	public java.lang.String getModifiedBy() {
		return this.modifiedBy;
	}
	public void setModifiedByName(java.lang.String value) {
		this.modifiedByName = value;
	}
	
	public java.lang.String getModifiedByName() {
		return this.modifiedByName;
	}
	public void setModifiedDate(java.util.Date value) {
		this.modifiedDate = value;
	}
	
	public java.util.Date getModifiedDate() {
		return this.modifiedDate;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
	
	public int hashCode() {
		return new HashCodeBuilder()
			.append(getId())
			.toHashCode();
	}
	
	public boolean equals(Object obj) {
		if(obj instanceof PlatformConfig == false) return false;
		if(this == obj) return true;
		PlatformConfig other = (PlatformConfig)obj;
		return new EqualsBuilder()
			.append(getId(),other.getId())
			.isEquals();
	}
}

